﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.Traceable.Domain.Entitiy
{
    /// <summary>
    /// 企业信息表
    /// </summary>
    public class CompanyModel
    {
        [Key]
        /// <summary>
        /// 企业编号
        /// </summary>
        public int CompanyId { get; set; }
        /// <summary>
        /// 养殖场
        /// </summary>
        public string Farms { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string  Head { get; set; }
        /// <summary>
        /// 存栏数量
        /// </summary>
        public int HerdsNumber { get; set; }
        /// <summary>
        /// 公司名称
        /// </summary>
        public string FirmName { get; set; }
        /// <summary>
        /// 成立时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 省
        /// </summary>
        public int ProviceId { get; set; }
        /// <summary>
        /// 市
        /// </summary>
        public int CityId { get; set; }
        /// <summary>
        /// 县
        /// </summary>
        public int CountyId { get; set; }
        /// <summary>
        /// 详细地址
        /// </summary>
        public string Address { get; set; }
        /// <summary>
        /// 公司简介
        /// </summary>
        public string CompanyProfile { get; set; }
        /// <summary>
        /// 企业照片
        /// </summary>
        public string  CompanyImage { get; set; }
        /// <summary>
        /// 删除标记
        /// </summary>
        public bool IsDeleted { get; set; }
    }
}
